package com.jeecms.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/admin/html")
public class AdminViewController {
	
	@RequestMapping("/{viewName}")
	public String toView(@PathVariable("viewName")String viewName) {
		return "forward:/admin/"+viewName+".jsp";
	}
	
	
}
